package com.xqls.biz;

import java.util.List;
import java.util.Map;

import com.xqls.bean.UserRoleKeyBean;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserRoleKeyBiz {

	CommonResult insertUserRole(Map<String,Object> map);

	CommonResult updateUserRole(Map<String,Object> map);

	CommonResult deleteUserRole(UserRoleKeyBean userRoleKeyBean);
	
	CommonResult deleteByList(List<UserRoleKeyBean> keyBeanList);

	Map<String,Object> getUserRoleBeanById(String userId);
	
	CommonResult getListByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
}
